<%@ page language="java" import="java.util.*" contentType="text/html; charset=utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<html>
	<head>
		<base href="<%=basePath%>">
		<title>申诉异议详细信息</title>
		<link rel="styleSheet" href="css/body.css" type="text/css" media="all" />
		<style type="text/css">
table td {
	text-align: left;
}
</style>
	</head>

	<body>
	<form action="ComplaintActionreplyComplaint?cid=${complaint.cid }" method="post">
		<table>
			<caption>
				<font size="5" color="blue">
					申&nbsp;诉&nbsp;异&nbsp;议&nbsp;详&nbsp;细&nbsp;信&nbsp;息 </font>
			</caption>
			<tr>
				<td>
					ID：
				</td>
				<td>
					${complaint.cid }
				</td>
			</tr>
			<tr>
				<td>
					工 号：
				</td>
				<td>
					${complaint.workid }
				</td>
			</tr>
			<tr>
				<td>
					标题：
				</td>
				<td>
					${complaint.title }
				</td>
			</tr>
			<tr>
				<td>
					内 容：
				</td>
				<td>
					${complaint.content }
				</td>
			</tr>
			<tr>
				<td>
					申诉日期:
				</td>
				<td>
					${complaint.objectiondate }
				</td>
			</tr>
			<tr>
				<td>
					已 读：
				</td>
				<td>
					${complaint.isread }
				</td>
			</tr>
			<tr>
				<td>
					回 复 日 期：
				</td>
				<td>
					${complaint.replydate}
				</td>
			</tr>
			<tr>
				<td>
					回 复 内 容：
				</td>
				<td>
					${complaint.reply }
				</td>
			</tr>
			<% Integer grade = (Integer)session.getAttribute("grade"); 
				if(grade != 4){
			%>
			<tr>
				<td>
					管理员评论或回应：
				</td>
				<td>
					<textarea rows="15" cols="30" name="replycontent" id="replycontent"></textarea>
				</td>
			</tr>
			<tr>
				<td>
					<input type="submit" value="回应"/>
				</td>
				<td>
					<input type="reset" value="重置"/>
				</td>
			</tr>
			<%} %>
		</table>
		</form>
	</body>
</html>
